/*
 * @Author: HeAo
 * @Date: 2021-09-27 09:29:02
 * @LastEditTime: 2021-09-27 09:36:47
 * @LastEditors: HeAo
 * @Description:
 * @FilePath: \web2103-2105\web2103code\3-1-ES6\day03\2-箭头函数.js
 * 别乱动！
 */
let arr = ['tom', 'lerry', 'jacky']

let result1 = arr.filter(function (item) {
  return item == 'tom'
})
console.log(result1);

let result2 = arr.filter((item) => {
  return item == 'tom'
})
console.log(result2);

let result3 = arr.filter(item => item == 'tom')
console.log(result3);

let myFun = function () {

}

let arrowFun = () => {

}
